import 'package:flutter/material.dart';

main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "登录页",
      home: Scaffold(
        body: Column(
          children: [
            Expanded(child: Text("图片"), flex: 1),
            Expanded(child: TextField(decoration: InputDecoration(hintText: "请输入账号"),))
          ],
        ),
      ),
    );
  }
}
